package com.example.demo.vo.remark;

import com.example.demo.po.remark.Remark;
import lombok.Data;

@Data
public class RemarkVO {
    private int reid;
    private int score;
    private String explanation;
    public RemarkVO(){}
    public RemarkVO(Remark remark){
        this.reid=remark.getReid();
        this.score=remark.getScore();
        this.explanation=remark.getExplanation();
    }

    public RemarkVO(RemarkInfoVO remarkInfoVO){
        this.reid=remarkInfoVO.getReid();
        this.score=remarkInfoVO.getScore();
        this.explanation=remarkInfoVO.getExplanation();
    }
}
